const balls0_9 = [{key: 0, value: 0}, {key: 1, value: 1}, {key: 2, value: 2}, {key: 3, value: 3},
    {key: 4, value: 4}, {key: 5, value: 5}, {key: 6, value: 6}, {key: 7, value: 7},
    {key: 8, value: 8}, {key: 9, value: 9},];

const balls1_10 = [ {key: "01", value: "01"}, {key: "02", value: "02"}, {key: "03", value: "03"},
    {key: "04", value: "04"}, {key: "05", value: "05"}, {key: "06", value: "06"}, {key: "07", value: "07"},
    {key: "08", value: "08"}, {key: "09", value: "09"},{key: "10", value: "10"},];

const balls1_11 = [ {key: "01", value: "01"}, {key: "02", value: "02"}, {key: "03", value: "03"},
    {key: "04", value: "04"}, {key: "05", value: "05"}, {key: "06", value: "06"}, {key: "07", value: "07"},
    {key: "08", value: "08"}, {key: "09", value: "09"},{key: "10", value: "10"},{key: "11", value: "11"},];

//龙虎和
const ballsLongHuHe=[{key: "龙", value: "龙"},{key: "虎", value: "虎"},{key: "和", value: "和"},];
//龙虎
const ballsLongHu=[{key: "龙", value: "龙"},{key: "虎", value: "虎"},];

//大小单双
const ballsDaXiaoDanShuang =[{key: "大", value: "大"},{key: "小", value: "小"},{key: "单", value: "单"},{key: "双", value: "双"},];


/**
 * [组合运算]
 * @param  {array} arr [进行组合运算的数组]
 * @example [1,3,2]
 * @param  {number} num [每几个元素为一组]
 * @return {array}     [返回组合集合]
 * @example [[1,3],[1,2],[3,2]]
 */
const combo = function(arr, num) {
    var result = [];
    var range = function(r, _arr) {
        if (r.length == num) {
            result.push(r)
        } else {
            let l = r.length;
            for (var i = 0, len = _arr.length - num + l; i <= len; i++) {
                range(r.concat(_arr[i]), _arr.slice(i + 1))
            }
        }
    }
    range([], arr);
    return result;
}

/**
 * 添加到缓存前的检查-----------至少选择一个球
 * @param lotteryBallBaseCtrl
 * @param lotteryTypeLevel2Info
 * @param typeLevel2ButtonActiveClass
 * @returns {boolean}
 */
const atLeastSelectOneCheckBeforeAddToCache = function (lotteryBallBaseCtrl,lotteryTypeLevel2Info,typeLevel2ButtonActiveClass) {
    let activedTypeLevel2Button = $("button.typelevel2Button").filter("."+typeLevel2ButtonActiveClass) [0];
    let playid = $(activedTypeLevel2Button).data("typelevel2");
    let typeLevel2AreaEleList = $("div.typeLevel2Area").filter("."+playid);
    //每位选择的球数
    let ballCountArray = new Array();
    typeLevel2AreaEleList.find("ul.ul_balls").each(function (index, ulEle) {
        let jqUlEle = $(ulEle);
        let selectBallsEleList = jqUlEle.find("li.selected");
        if(selectBallsEleList.length > 0){
            ballCountArray.push(selectBallsEleList.length);
        }
    });
    if(ballCountArray.length < 1){
        layer.alert("对不起，您至少需要选择一个号码！",{
            title:"错误",
            icon: 2,
            btn:["明白了"],
            btn1:function (index,layerro) {
                layer.close(index);
            }
        });
        return false;
    }else{
        return true;
    }
};

/**
 * 添加到缓存前的检查-----------星，复式
 * @param lotteryBallBaseCtrl
 * @param lotteryTypeLevel2Info
 * @param typeLevel2ButtonActiveClass
 * @returns {boolean}
 */
const xingFuShiCheckBeforeAddToCache = function (lotteryBallBaseCtrl,lotteryTypeLevel2Info,typeLevel2ButtonActiveClass) {
    let activedTypeLevel2Button = $("button.typelevel2Button").filter("."+typeLevel2ButtonActiveClass) [0];
    let playid = $(activedTypeLevel2Button).data("typelevel2");
    let typeLevel2AreaEleList = $("div.typeLevel2Area").filter("."+playid);
    //每位选择的球数
    let ballCountArray = new Array();
    typeLevel2AreaEleList.find("ul.ul_balls").each(function (index, ulEle) {
        let jqUlEle = $(ulEle);
        let selectBallsEleList = jqUlEle.find("li.selected");
        if(selectBallsEleList.length > 0){
            ballCountArray.push(selectBallsEleList.length);
        }
    });
    if(ballCountArray.length < lotteryTypeLevel2Info.ballsTypeList.length){
        layer.alert("对不起，您至少需要选择一组号码！",{
            title:"错误",
            icon: 2,
            btn:["明白了"],
            btn1:function (index,layerro) {
                layer.close(index);
            }
        });
        return false;
    }else if(lotteryBallBaseCtrl.betCalcInfo && lotteryBallBaseCtrl.betCalcInfo.itemCount<2){
        layer.alert("对不起，复式需要选择2注及以上号码！",{
            title:"错误",
            icon: 2,
            btn:["明白了"],
            btn1:function (index,layerro) {
                layer.close(index);
            }
        });
        return false;
    }else{
        return true;
    }
};

/**
 * 添加到缓存前的检查-----------星，单式
 * @param lotteryBallBaseCtrl
 * @param lotteryTypeLevel2Info
 * @param typeLevel2ButtonActiveClass
 * @returns {boolean}
 */
const xingDanShiCheckBeforeAddToCache = function (lotteryBallBaseCtrl,lotteryTypeLevel2Info,typeLevel2ButtonActiveClass) {
    let activedTypeLevel2Button = $("button.typelevel2Button").filter("."+typeLevel2ButtonActiveClass) [0];
    let playid = $(activedTypeLevel2Button).data("typelevel2");
    let typeLevel2AreaEleList = $("div.typeLevel2Area").filter("."+playid);
    //每位选择的球数
    let ballCountArray = new Array();
    //每位选择了多个球
    let selectedMutipleAtARow = false;
    typeLevel2AreaEleList.find("ul.ul_balls").each(function (index, ulEle) {
        let jqUlEle = $(ulEle);
        let selectBallsEleList = jqUlEle.find("li.selected");
        if(selectBallsEleList.length > 0){
            ballCountArray.push(selectBallsEleList.length);
        }
        if(selectBallsEleList.length>1){
            selectedMutipleAtARow = true;
        }
    });
    if((ballCountArray.length < lotteryTypeLevel2Info.ballsTypeList.length) || selectedMutipleAtARow){
        layer.alert("对不起，您有且只能选择一组号码！",{
            title:"错误",
            icon: 2,
            btn:["明白了"],
            btn1:function (index,layerro) {
                layer.close(index);
            }
        });
        return false;
    }else{
        return true;
    }
};


/**
 * 添加到缓存前的检查-----------广东11选5，“组选”或“任选”
 * @param lotteryBallBaseCtrl
 * @param lotteryTypeLevel2Info
 * @param typeLevel2ButtonActiveClass
 * @returns {boolean}
 */
const  groupGd11x5CheckBeforeAddToCache = function (lotteryBallBaseCtrl,lotteryTypeLevel2Info,typeLevel2ButtonActiveClass) {
    let fuhao = lotteryTypeLevel2Info.fuhao;
    let ballNums = lotteryTypeLevel2Info.ballNums;
    let expression = fuhao+ballNums;
    let activedTypeLevel2Button = $("button.typelevel2Button").filter("."+typeLevel2ButtonActiveClass) [0];
    let playid = $(activedTypeLevel2Button).data("typelevel2");
    let typeLevel2AreaEleList = $("div.typeLevel2Area").filter("."+playid);
    let selectedBalls = typeLevel2AreaEleList.find("ul.ul_balls li.selected").length;
    expression = selectedBalls + expression;
    let msg = "对不起，您";
    if(fuhao=="=="){
        msg +="有且只能";
    }else{
        msg +="至少";
    }
    msg +="选择"+ballNums+"个号码";
    if(!eval(expression)){
        layer.alert(msg,{
            title:"错误",
            icon: 2,
            btn:["明白了"],
            btn1:function (index,layerro) {
                layer.close(index);
            }
        });
        return false;
    }else{
        return true;
    }
};

//=====================================populateNums========================================================
/**
 *  组合投注号码--------每球一注
 * @param lotteryTypeLevel2Info 二级分类的信息
 * @param typeLevel2AreaEleList 二级分类的HTML的jquery对象
 * @param ballsSelector 球选择器
 */
const aBallPerItemPopulateNums = function (lotteryBallBaseCtrl,lotteryTypeLevel2Info,typeLevel2ButtonActiveClass) {
    let ticketcode = {};
    let activedTypeLevel2Button = $("button.typelevel2Button").filter("."+typeLevel2ButtonActiveClass) [0];
    let playid = $(activedTypeLevel2Button).data("typelevel2");
    let playName = $(activedTypeLevel2Button).text();
    ticketcode.playid = playid
    let typeLevel2AreaEleList = $("div.typeLevel2Area").filter("."+playid);
    let codeArray  = new Array();
    //注数
    let itemCount =0;
    typeLevel2AreaEleList.find("ul.ul_balls").each(function (index, ulEle) {
        let jqUlEle = $(ulEle);
        //let codeStr = jqUlEle.data("ballrow");
        let ballArr = new Array();
        let selectBallsEleList = jqUlEle.find("li.selected");
        itemCount += selectBallsEleList.length;
        selectBallsEleList.each(function (idx, liEle) {
            ballArr.push($(liEle).text());
        })
        codeArray.push(ballArr.join(lotteryTypeLevel2Info.ballSperator));
    })
    ticketcode.code=codeArray.join(lotteryTypeLevel2Info.rowSperator);
    console.log(ticketcode.code);
    ticketcode.multiple=lotteryBallBaseCtrl.betCalcInfo.times;
    ticketcode.playName= playName;
    ticketcode.itemCount= itemCount;
    let ticketcodeList = [ticketcode];
    lotteryBallBaseCtrl.betCalcInfo.betCalcInfoList = new Array();
    lotteryBallBaseCtrl.betCalcInfo.betCalcInfoList.push(ticketcode);
    lotteryBallBaseCtrl.betCalcInfo.itemCount= itemCount;
    return ticketcodeList;
}
/**
 *  组合投注号码-----------每组一注
 * @param lotteryTypeLevel2Info 二级分类的信息
 * @param typeLevel2AreaEleList 二级分类的HTML的jquery对象
 * @param ballsSelector 球选择器
 */
const xingPopulateNums =  function (lotteryBallBaseCtrl,lotteryTypeLevel2Info,typeLevel2ButtonActiveClass) {
    let ticketcode = {};
    let activedTypeLevel2Button = $("button.typelevel2Button").filter("."+typeLevel2ButtonActiveClass) [0];
    let playid = $(activedTypeLevel2Button).data("typelevel2");
    let playName = $(activedTypeLevel2Button).text();
    ticketcode.playid = playid
    let typeLevel2AreaEleList = $("div.typeLevel2Area").filter("."+playid);
    let codeArray  = new Array();
    //每位选择的球数
    let ballCountArray = new Array();
    //注数
    let itemCount =1;
    typeLevel2AreaEleList.find("ul.ul_balls").each(function (index, ulEle) {
        let jqUlEle = $(ulEle);
        let ballArr = new Array();
        let selectBallsEleList = jqUlEle.find("li.selected");
        ballCountArray.push(selectBallsEleList.length);
        selectBallsEleList.each(function (idx, liEle) {
            ballArr.push($(liEle).text());
        })
        codeArray.push(ballArr.join(lotteryTypeLevel2Info.ballSperator));
    });
    //计算注数
    for(let i=0;i<ballCountArray.length;i++){
        if( ballCountArray[i] > 0){
            itemCount *= ballCountArray[i];
        }
    }
    ticketcode.code=codeArray.join(lotteryTypeLevel2Info.rowSperator);
    console.log(ticketcode.code);
    ticketcode.multiple=lotteryBallBaseCtrl.betCalcInfo.times;
    ticketcode.playName= playName;
    ticketcode.itemCount= itemCount;
    let ticketcodeList = [ticketcode];
    lotteryBallBaseCtrl.betCalcInfo.betCalcInfoList = new Array();
    lotteryBallBaseCtrl.betCalcInfo.betCalcInfoList.push(ticketcode);
    lotteryBallBaseCtrl.betCalcInfo.itemCount= itemCount;
    return ticketcodeList;
};

/**
 *  组合投注号码-----------广东11选5，任选/组选
 * @param lotteryTypeLevel2Info 二级分类的信息
 * @param typeLevel2AreaEleList 二级分类的HTML的jquery对象
 * @param ballsSelector 球选择器
 */
const zuhePopulateNums =  function (lotteryBallBaseCtrl,lotteryTypeLevel2Info,typeLevel2ButtonActiveClass) {
    let ticketcode = {};
    let activedTypeLevel2Button = $("button.typelevel2Button").filter("."+typeLevel2ButtonActiveClass) [0];
    let playid = $(activedTypeLevel2Button).data("typelevel2");
    let playName = $(activedTypeLevel2Button).text();
    ticketcode.playid = playid
    let typeLevel2AreaEleList = $("div.typeLevel2Area").filter("."+playid);
    let codeArray  = new Array();
    //每位选择的球数
    let ballCountArray = new Array();
    //注数
    let itemCount =1;
    typeLevel2AreaEleList.find("ul.ul_balls").each(function (index, ulEle) {
        let jqUlEle = $(ulEle);
        let ballArr = new Array();
        let selectBallsEleList = jqUlEle.find("li.selected");
        ballCountArray.push(selectBallsEleList.length);
        selectBallsEleList.each(function (idx, liEle) {
            ballArr.push($(liEle).text());
        })
        codeArray.push(ballArr.join(lotteryTypeLevel2Info.ballSperator));
    });
    //计算注数
    for(let i=0;i<ballCountArray.length;i++){
        if( ballCountArray[i] > 0){
            itemCount *= ballCountArray[i];
        }
    }
    ticketcode.code=codeArray.join(lotteryTypeLevel2Info.rowSperator);
    console.log(ticketcode.code);
    ticketcode.multiple=lotteryBallBaseCtrl.betCalcInfo.times;
    ticketcode.playName= playName;
    ticketcode.itemCount= itemCount;
    let ticketcodeList = [ticketcode];
    lotteryBallBaseCtrl.betCalcInfo.betCalcInfoList = new Array();
    lotteryBallBaseCtrl.betCalcInfo.betCalcInfoList.push(ticketcode);
    lotteryBallBaseCtrl.betCalcInfo.itemCount= itemCount;
    return ticketcodeList;
};


const Constant = {
    // http://localhost:1337/demo.web.blh.jacking.cn/
    // urlPrefix: "/",
    urlPrefix: URL_PREFIX,
    // urlPrefix: "http:///localhost:1337/demo.web.blh.jacking.cn/",
    cqssc: "重庆时时彩",
    gd11x5: "广东11选5",
    xysc: "北京赛车",
    lotteryList: [
        {
            key:"cqssc",
            name:"重庆时时彩",
            typeLevel1:[
                {
                    key:"dingWeiDan",
                    name:"定位胆",
                    typeLevel2:[
                        {
                            key:"901",
                            name:"定位胆",
                            desc:"从万位、千位、百位、十位、个位任意位置上至少选择1个以上号码，所选号码与相同位置上的开奖号码一致，即为中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"|", //一组球之间的划分线
                            showShortcutKey:true,//显示全大小奇偶清
                            showFull:true,
                            showBig:true,
                            showSmall:true,
                            showOdd:true,
                            showEven:true,
                            showClean:true,
                            ballsTypeList: [
                                {key: "tenthousand",name: "万",balls:balls0_9},
                                {key: "thousand",   name: "千",balls:balls0_9},
                                {key: "hundred",    name: "百",balls:balls0_9},
                                {key: "ten",        name: "十",balls:balls0_9},
                                {key: "singleDigit",name: "个",balls:balls0_9},
                            ],
                            //添加到缓存检查 --- 至少选择一个球
                            checkBeforeAddToCache:atLeastSelectOneCheckBeforeAddToCache,
                            //组合投注号码-----------每组一注
                            populateNums:aBallPerItemPopulateNums
                        }
                    ]// type level 2 end
                },// 定位胆
                {
                    key:"longHuHe",
                    name:"龙虎和",
                    typeLevel2:[
                        {
                            key:"801",
                            name:"龙虎和",
                            desc:"从龙、虎、和中任意选择1个号码形态组成一注。只要开奖号码的万位大于个位，则为龙；万位小个位，则为虎；相同号码则为和。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:true,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:true,
                            ballsTypeList: [
                                {
                                    key: "tenthousand",
                                    name: "万",
                                    balls:ballsLongHuHe
                                }
                            ],
                            //添加到缓存检查 --- 至少选择一个球
                            checkBeforeAddToCache:atLeastSelectOneCheckBeforeAddToCache,
                            //组合投注号码-----------每组一注
                            populateNums:aBallPerItemPopulateNums
                        }
                    ]// type level 2 end
                },//龙虎和
                {
                    key:"daXiaoDanShuang",
                    name:"大小单双",
                    typeLevel2:[
                        {
                            key:"701",
                            name:"大小单双",
                            desc:"您投注的大、小、单、双与开奖结果相应位置的大、小、单、双一致即为中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"|", //一组球之间的划分线
                            showShortcutKey:true,//显示全大小奇偶清
                            showFull:true,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:true,
                            ballsTypeList: [
                                {key: "tenthousand",name: "万", balls:ballsDaXiaoDanShuang},
                                {key: "thousand",name: "千",balls:ballsDaXiaoDanShuang },
                                {key: "hundred",name: "百",balls:ballsDaXiaoDanShuang},
                                {key: "ten",name: "十",balls:ballsDaXiaoDanShuang},
                                {key: "singleDigit",name: "个",balls:ballsDaXiaoDanShuang},
                            ],
                            //添加到缓存检查 --- 至少选择一个球
                            checkBeforeAddToCache:atLeastSelectOneCheckBeforeAddToCache,
                            //组合投注号码-----------每组一注
                            populateNums:aBallPerItemPopulateNums
                        }
                    ]// type level 2 end
                },//大小单双
                {
                    key:"wuXing",
                    name:"五星",
                    typeLevel2:[
                        {
                            key: "502",
                            name: "直选复式",
                            desc: "从万位、千位、百位、十位、个位中选择一个5位数号码组成2注，所选号码与开奖号码全部相同，且顺序一致，即为中奖。",
                            ballSperator: "", //球之间划分线
                            rowSperator: ",", //一组球之间的划分线
                            showShortcutKey: true,//显示全大小奇偶清
                            showFull:true,
                            showBig:true,
                            showSmall:true,
                            showOdd:true,
                            showEven:true,
                            showClean:true,
                            ballsTypeList: [
                                {key: "tenthousand", name: "万", balls: balls0_9},
                                {key: "thousand", name: "千", balls: balls0_9},
                                {key: "hundred", name: "百", balls: balls0_9},
                                {key: "ten", name: "十", balls: balls0_9},
                                {key: "singleDigit", name: "个", balls: balls0_9},
                            ],
                            //添加到缓存检查
                            checkBeforeAddToCache: xingFuShiCheckBeforeAddToCache,
                            //组合球
                            populateNums: xingPopulateNums
                        },
                        {
                            key:"501",
                            name:"直选单式",
                            desc:"从万位选择5个号码组成一注，所选号码与开奖号码全部相同，且顺序一致，即为中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:",", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:true,
                            showBig:true,
                            showSmall:true,
                            showOdd:true,
                            showEven:true,
                            showClean:true,
                            //计算符号
                            fuhao:"==",
                            //球数
                            ballNums:5,
                            ballsTypeList: [
                                {key: "tenthousand",name: "万",balls:balls0_9},
                            ],
                            //添加到缓存检查
                            checkBeforeAddToCache:groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: xingPopulateNums
                        },
                    ]// type level 2 end
                },//五星
                {
                    key:"siXing",
                    name:"四星",
                    typeLevel2:[
                        {
                            key:"402",
                            name:"直选复式",
                            desc:"从万位、千位、百位、十位中选择一个4位数组成一注，所选号码与开奖号码相同，且顺序一致，即为中奖。",
                            ballSperator:"", //球之间划分线
                            rowSperator:",", //一组球之间的划分线
                            showShortcutKey:true,//显示全大小奇偶清
                            showFull:true,
                            showBig:true,
                            showSmall:true,
                            showOdd:true,
                            showEven:true,
                            showClean:true,
                            ballsTypeList: [
                                {key: "tenthousand",name: "万",balls:balls0_9},
                                {key: "thousand",   name: "千",balls:balls0_9},
                                {key: "hundred",    name: "百",balls:balls0_9},
                                {key: "ten",        name: "十",balls:balls0_9},
                            ],
                            //添加到缓存检查--复式
                            checkBeforeAddToCache: xingFuShiCheckBeforeAddToCache,
                            //组合球
                            populateNums: xingPopulateNums
                        },
                        {
                            key:"401",
                            name:"直选单式",
                            desc:"从万位、千位、百位、十位中选择一个4位数组成一注，所选号码与开奖号码相同，且顺序一致，即为中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:",", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:true,
                            showBig:true,
                            showSmall:true,
                            showOdd:true,
                            showEven:true,
                            showClean:true,
                            //计算符号
                            fuhao:"==",
                            //球数
                            ballNums:4,
                            ballsTypeList: [
                                {key: "tenthousand",name: "万",balls:balls0_9},
                            ],
                            //添加到缓存检查--单式
                            checkBeforeAddToCache:groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: xingPopulateNums
                        },
                    ]// type level 2 end
                },//四星
                {
                    key:"sanXing",
                    name:"三星",
                    typeLevel2:[
                        {
                            key:"302",
                            name:"直选复式",
                            desc:"从万位、千位、百位中选择一个3位数组成一注，所选号码与开奖号码的前3位相同，且顺序一致，即为中奖。",
                            ballSperator:"", //球之间划分线
                            rowSperator:",", //一组球之间的划分线
                            showShortcutKey:true,//显示全大小奇偶清
                            showFull:true,
                            showBig:true,
                            showSmall:true,
                            showOdd:true,
                            showEven:true,
                            showClean:true,
                            ballsTypeList: [
                                {key: "tenthousand",name: "万",balls:balls0_9},
                                {key: "thousand",   name: "千",balls:balls0_9},
                                {key: "hundred",    name: "百",balls:balls0_9},
                            ],
                            //添加到缓存检查--复式
                            checkBeforeAddToCache: xingFuShiCheckBeforeAddToCache,
                            //组合球
                            populateNums: xingPopulateNums
                        },
                        {
                            key:"301",
                            name:"直选单式",
                            desc:"从万位、千位、百位中选择一个3位数组成一注，所选号码与开奖号码的前3位相同，且顺序一致，即为中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:",", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:true,
                            showBig:true,
                            showSmall:true,
                            showOdd:true,
                            showEven:true,
                            showClean:true,
                            //计算符号
                            fuhao:"==",
                            //球数
                            ballNums:3,
                            ballsTypeList: [
                                {key: "tenthousand",name: "万",balls:balls0_9},
                            ],
                            //添加到缓存检查--单式
                            checkBeforeAddToCache:groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: xingPopulateNums
                        },
                    ]// type level 2 end
                },//三星
                {
                    key:"erXing",
                    name:"二星",
                    typeLevel2:[
                        {
                            key:"202",
                            name:"直选复式",
                            desc:"从万位、千位中选择一个2位数组成一注，所选号码与开奖号码前2位相同，且顺序一致，即为中奖。",
                            ballSperator:"", //球之间划分线
                            rowSperator:",", //一组球之间的划分线
                            showShortcutKey:true,//显示全大小奇偶清
                            showFull:true,
                            showBig:true,
                            showSmall:true,
                            showOdd:true,
                            showEven:true,
                            showClean:true,
                            ballsTypeList: [
                                {key: "tenthousand",name: "万",balls:balls0_9},
                                {key: "thousand",   name: "千",balls:balls0_9},
                            ],
                            //添加到缓存检查--复式
                            checkBeforeAddToCache: xingFuShiCheckBeforeAddToCache,
                            //组合球
                            populateNums: xingPopulateNums
                        },
                        {
                            key:"201",
                            name:"直选单式",
                            desc:"从万位、千位中选择一个2位数组成一注，所选号码与开奖号码前2位相同，且顺序一致，即为中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:",", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:true,
                            showBig:true,
                            showSmall:true,
                            showOdd:true,
                            showEven:true,
                            showClean:true,
                            //计算符号
                            fuhao:"==",
                            //球数
                            ballNums:2,
                            ballsTypeList: [
                                {key: "tenthousand",name: "万",balls:balls0_9},
                            ],
                            //添加到缓存检查--单式
                            checkBeforeAddToCache:groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: xingPopulateNums
                        },
                    ]// type level 2 end
                },//二星
            ]//type level 1 end
        },//cqssc end
        {
            key:"xysc",
            name:"幸运赛车",
            typeLevel1:[
                {
                    key:"dingWeiDan",
                    name:"定位胆",
                    typeLevel2:[
                        {
                            key:"901",
                            name:"定位胆",
                            desc:"从冠、亚、季、四、五、六、七、八、九、十任意1个位置或多个位置上选择1个号码，所选号码与相同位置上的开奖号码一致，即为中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"|", //一组球之间的划分线
                            showShortcutKey:true,//显示全大小奇偶清
                            showFull:true,
                            showBig:true,
                            showSmall:true,
                            showOdd:true,
                            showEven:true,
                            showClean:true,
                            ballsTypeList: [
                                {key: "first",name: "冠",balls:balls1_10},
                                {key: "second",name: "亚",balls:balls1_10},
                                {key: "third",name: "季",balls:balls1_10},
                                {key: "fourth",name: "四",balls:balls1_10},
                                {key: "fifth",name: "五",balls:balls1_10},
                                {key: "sixth",name: "六",balls:balls1_10},
                                {key: "seventh",name: "七",balls:balls1_10},
                                {key: "eighth",name: "八",balls:balls1_10},
                                {key: "ninth",name: "九",balls:balls1_10},
                                {key: "tenth",name: "十",balls:balls1_10},
                            ],
                            //添加到缓存检查 --- 至少选择一个球
                            checkBeforeAddToCache:atLeastSelectOneCheckBeforeAddToCache,
                            //组合投注号码-----------每组一注
                            populateNums:aBallPerItemPopulateNums
                        }
                    ]// type level 2 end
                },// 定位胆
                {
                    key:"longHuHe",
                    name:"龙虎",
                    typeLevel2:[
                        {
                            key:"801",
                            name:"龙虎",
                            desc:"从龙、虎中选择1个号码形态组成一注。冠军(冠军开奖号码大于第十名开奖号码为龙，反之为虎)；亚军(亚军开奖号码大于第九名开奖号码为龙，反之为虎)；季军(季军开奖号码大于第八名开奖号码为龙，反之为虎)；第四名(第四名开奖号码大于第七名开奖号码为龙，反之为虎)；第五名(第五名开奖号码大于第六名开奖号码为龙，反之为虎)。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"|", //一组球之间的划分线
                            showShortcutKey:true,//显示全大小奇偶清
                            showFull:true,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:true,
                            ballsTypeList: [
                                {key: "first",name:"冠",balls:ballsLongHu},
                                {key: "second",name:"亚",balls:ballsLongHu},
                                {key: "third",name:"季",balls:ballsLongHu},
                                {key: "fourth",name:"四",balls:ballsLongHu},
                                {key: "fifth",name:"五",balls:ballsLongHu}
                            ],
                            //添加到缓存检查 --- 至少选择一个球
                            checkBeforeAddToCache:atLeastSelectOneCheckBeforeAddToCache,
                            //组合投注号码-----------每组一注
                            populateNums:aBallPerItemPopulateNums
                        }
                    ]// type level 2 end
                },//龙虎和
                {
                    key:"daXiaoDanShuang",
                    name:"大小单双",
                    typeLevel2:[
                        {
                            key:"701",
                            name:"大小单双",
                            desc:"从冠、亚、季、四、五、六、七、八、九、十的 “大(06 07 08 09 10)、小（01 02 03 04 05）、单（01 03 05 07 09）、双（02 04 06 08 10）”形态进行购买，所选号码的位置、形态与开奖号码的位置、形态相同，即为中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"|", //一组球之间的划分线
                            showShortcutKey:true,//显示全大小奇偶清
                            showFull:true,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:true,
                            ballsTypeList: [
                                {key: "first",name:"冠",balls:ballsDaXiaoDanShuang},
                                {key: "second",name:"亚",balls:ballsDaXiaoDanShuang},
                                {key: "third",name:"季",balls:ballsDaXiaoDanShuang},
                                {key: "fourth",name:"四",balls:ballsDaXiaoDanShuang},
                                {key: "fifth",name:"五",balls:ballsDaXiaoDanShuang},
                                {key: "sixth",name:"六",balls:ballsDaXiaoDanShuang},
                                {key: "seventh",name:"七",balls:ballsDaXiaoDanShuang},
                                {key: "eighth",name:"八",balls:ballsDaXiaoDanShuang},
                                {key: "ninth",name:"九",balls:ballsDaXiaoDanShuang},
                                {key: "tenth",name:"十",balls:ballsDaXiaoDanShuang}
                            ],
                            //添加到缓存检查 --- 至少选择一个球
                            checkBeforeAddToCache:atLeastSelectOneCheckBeforeAddToCache,
                            //组合投注号码-----------每组一注
                            populateNums:aBallPerItemPopulateNums
                        }
                    ]// type level 2 end
                },//大小单双
                {
                    key:"qianWu",
                    name:"前五",
                    typeLevel2:[
                        {
                            key:"502",
                            name:"直选复式",
                            desc:"从01-10共10个号码中选择5个不重复的号码组成一注，所选号码与当前期顺序摇出的10个号码中的前5个号码相同，且顺序一致，即为中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"|", //一组球之间的划分线
                            showShortcutKey:true,//显示全大小奇偶清
                            showFull:true,
                            showBig:true,
                            showSmall:true,
                            showOdd:true,
                            showEven:true,
                            showClean:true,
                            ballsTypeList: [
                                {key: "first",name:"冠",balls:balls1_10},
                                {key: "second",name:"亚",balls:balls1_10},
                                {key: "third",name:"季",balls:balls1_10},
                                {key: "fourth",name:"四",balls:balls1_10},
                                {key: "fifth",name:"五",balls:balls1_10},
                            ],
                            //添加到缓存检查--复式
                            checkBeforeAddToCache: xingFuShiCheckBeforeAddToCache,
                            //组合球
                            populateNums: xingPopulateNums
                        },
                        {
                            key:"501",
                            name:"直选单式",
                            desc:"从01-10共10个号码中选择5个不重复的号码组成一注，所选号码与当前期顺序摇出的10个号码中的前5个号码相同，且顺序一致，即为中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"|", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "first",name:"冠",balls:balls1_10},
                            ],
                            //计算符号
                            fuhao:"==",
                            //球数
                            ballNums:5,
                            //添加到缓存检查--单式
                            checkBeforeAddToCache:groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: xingPopulateNums
                        },
                    ]// type level 2 end
                },//五星
                {
                    key:"qianSi",
                    name:"前四",
                    typeLevel2:[
                        {
                            key:"402",
                            name:"直选复式",
                            desc:"从01-10共10个号码中选择4个不重复的号码组成一注，所选号码与当前期顺序摇出的10个号码中的前4个号码相同，且顺序一致，即为中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"|", //一组球之间的划分线
                            showShortcutKey:true,//显示全大小奇偶清
                            showFull:true,
                            showBig:true,
                            showSmall:true,
                            showOdd:true,
                            showEven:true,
                            showClean:true,
                            ballsTypeList: [
                                {key: "first",name:"冠",balls:balls1_10},
                                {key: "second",name:"亚",balls:balls1_10},
                                {key: "third",name:"季",balls:balls1_10},
                                {key: "fourth",name:"四",balls:balls1_10},
                            ],
                            //添加到缓存检查--复式
                            checkBeforeAddToCache: xingFuShiCheckBeforeAddToCache,
                            //组合球
                            populateNums: xingPopulateNums
                        },
                        {
                            key:"401",
                            name:"直选单式",
                            desc:"从01-10共10个号码中选择4个不重复的号码组成一注，所选号码与当前期顺序摇出的10个号码中的前4个号码相同，且顺序一致，即为中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"|", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "first",name:"冠",balls:balls1_10},
                            ],
                            //计算符号
                            fuhao:"==",
                            //球数
                            ballNums:4,
                            //添加到缓存检查--单式
                            checkBeforeAddToCache:groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: xingPopulateNums
                        },
                    ]// type level 2 end
                },//四星
                {
                    key:"qianSan",
                    name:"前三",
                    typeLevel2:[
                        {
                            key:"302",
                            name:"直选复式",
                            desc:"从01-10共10个号码中选择3个不重复的号码组成一注，所选号码与当前期顺序摇出的10个号码中的前3个号码相同，且顺序一致，即为中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"|", //一组球之间的划分线
                            showShortcutKey:true,//显示全大小奇偶清
                            showFull:true,
                            showBig:true,
                            showSmall:true,
                            showOdd:true,
                            showEven:true,
                            showClean:true,
                            ballsTypeList: [
                                {key: "first",name:"冠",balls:balls1_10},
                                {key: "second",name:"亚",balls:balls1_10},
                                {key: "third",name:"季",balls:balls1_10},
                            ],
                            //添加到缓存检查--复式
                            checkBeforeAddToCache: xingFuShiCheckBeforeAddToCache,
                            //组合球
                            populateNums: xingPopulateNums
                        },
                        {
                            key:"301",
                            name:"直选单式",
                            desc:"从01-10共10个号码中选择3个不重复的号码组成一注，所选号码与当前期顺序摇出的10个号码中的前3个号码相同，且顺序一致，即为中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"|", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "first",name:"冠",balls:balls1_10},
                            ],
                            //计算符号
                            fuhao:"==",
                            //球数
                            ballNums:3,
                            //添加到缓存检查--单式
                            checkBeforeAddToCache:groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: xingPopulateNums
                        },
                    ]// type level 2 end
                },//三星
                {
                    key:"qianEr",
                    name:"前二",
                    typeLevel2:[
                        {
                            key:"202",
                            name:"直选复式",
                            desc:"从01-10共10个号码中选择2个不重复的号码组成一注，所选号码与当前期顺序摇出的10个号码中的前2个号码相同，且顺序一致，即为中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"|", //一组球之间的划分线
                            showShortcutKey:true,//显示全大小奇偶清
                            showFull:true,
                            showBig:true,
                            showSmall:true,
                            showOdd:true,
                            showEven:true,
                            showClean:true,
                            ballsTypeList: [
                                {key: "first",name:"冠",balls:balls1_10},
                                {key: "second",name:"亚",balls:balls1_10},
                            ],
                            //添加到缓存检查--复式
                            checkBeforeAddToCache: xingFuShiCheckBeforeAddToCache,
                            //组合球
                            populateNums: xingPopulateNums
                        },
                        {
                            key:"201",
                            name:"直选单式",
                            desc:"从01-10共10个号码中选择2个不重复的号码组成一注，所选号码与当前期顺序摇出的10个号码中的前2个号码相同，且顺序一致，即为中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"|", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "first",name:"冠",balls:balls1_10},
                            ],
                            //计算符号
                            fuhao:"==",
                            //球数
                            ballNums:2,
                            //添加到缓存检查--单式
                            checkBeforeAddToCache:groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: xingPopulateNums
                        },
                    ]// type level 2 end
                },//二星
            ]
        },//xysc end
        {
            key:"gd11x5",
            name:"广东11选5",
            typeLevel1:[
                {
                    key:"qianYi",
                    name:"前一",
                    typeLevel2:[
                        {
                            key:"101",
                            name:"前一直选单式",
                            desc:"至少选择1个号码投注，选号与开奖号码第1位一致即中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "tenthousand",name: "万",balls:balls1_11},
                            ],
                            //添加到缓存检查--单式
                            checkBeforeAddToCache:xingDanShiCheckBeforeAddToCache,
                            //组合球
                            populateNums: zuhePopulateNums
                        },
                        {
                            key:"102",
                            name:"前一直选复式",
                            desc:"至少选择1个号码投注，选号与开奖号码第1位一致即中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "tenthousand",name: "万",balls:balls1_11},
                            ],
                            //添加到缓存检查--复式
                            checkBeforeAddToCache: xingFuShiCheckBeforeAddToCache,
                            //组合球
                            populateNums: zuhePopulateNums
                        }
                    ]// type level 2 end
                },// 前一
                {
                    key:"renXuanEr",
                    name:"任选二",
                    typeLevel2:[
                        {
                            key:"201",
                            name:"任选二单式",
                            desc:"至少选择2个号码投注，选号与开奖号码任意2位一致即中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "group",name: "选择号码",balls:balls1_11}
                            ],
                            //计算符号
                            fuhao:"==",
                            //球数
                            ballNums:2,
                            //添加到缓存检查--组选或任选
                            checkBeforeAddToCache: groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: zuhePopulateNums
                        },
                        {
                            key:"202",
                            name:"任选二复式",
                            desc:"至少选择2个号码投注，选号与开奖号码任意2位一致即中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "group",name: "选择号码",balls:balls1_11}
                            ],
                            //计算符号
                            fuhao:">=",
                            //球数
                            ballNums:3,
                            //添加到缓存检查--组选或任选
                            checkBeforeAddToCache: groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: zuhePopulateNums
                        }
                    ]// type level 2 end
                },// 任选二
                {
                    key:"renXuanSan",
                    name:"任选三",
                    typeLevel2:[
                        {
                            key:"301",
                            name:"任选三单式",
                            desc:"至少选择3个号码投注，选号与开奖号码任意3位一致即中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "group",name: "选择号码",balls:balls1_11}
                            ],
                            //计算符号
                            fuhao:"==",
                            //球数
                            ballNums:3,
                            //添加到缓存检查--组选或任选
                            checkBeforeAddToCache: groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: zuhePopulateNums
                        },
                        {
                            key:"302",
                            name:"任选三复式",
                            desc:"至少选择3个号码投注，选号与开奖号码任意3位一致即中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "group",name: "选择号码",balls:balls1_11}
                            ],
                            //计算符号
                            fuhao:">=",
                            //球数
                            ballNums:4,
                            //添加到缓存检查--组选或任选
                            checkBeforeAddToCache: groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: zuhePopulateNums
                        }
                    ]// type level 2 end
                },// 任选三
                {
                    key:"renXuanSi",
                    name:"任选四",
                    typeLevel2:[
                        {
                            key:"401",
                            name:"任选四单式",
                            desc:"至少选择4个号码投注，选号与开奖号码任意4位一致即中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "group",name: "选择号码",balls:balls1_11}
                            ],
                            //计算符号
                            fuhao:"==",
                            //球数
                            ballNums:4,
                            //添加到缓存检查--组选或任选
                            checkBeforeAddToCache: groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: zuhePopulateNums
                        },
                        {
                            key:"402",
                            name:"任选四复式",
                            desc:"至少选择4个号码投注，选号与开奖号码任意4位一致即中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "group",name: "选择号码",balls:balls1_11}
                            ],
                            //计算符号
                            fuhao:">=",
                            //球数
                            ballNums:5,
                            //添加到缓存检查--组选或任选
                            checkBeforeAddToCache: groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: zuhePopulateNums
                        }
                    ]// type level 2 end
                },// 任选四
                {
                    key:"renXuanWu",
                    name:"任选五",
                    typeLevel2:[
                        {
                            key:"501",
                            name:"任选五单式",
                            desc:"至少选择5个号码投注，选号与开奖号码全部一致即中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "group",name: "选择号码",balls:balls1_11}
                            ],
                            //计算符号
                            fuhao:"==",
                            //球数
                            ballNums:5,
                            //添加到缓存检查--组选或任选
                            checkBeforeAddToCache: groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: zuhePopulateNums
                        },
                        {
                            key:"502",
                            name:"任选五复式",
                            desc:"至少选择5个号码投注，选号与开奖号码全部一致即中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "group",name: "选择号码",balls:balls1_11}
                            ],
                            //计算符号
                            fuhao:">=",
                            //球数
                            ballNums:6,
                            //添加到缓存检查--组选或任选
                            checkBeforeAddToCache: groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: zuhePopulateNums
                        }
                    ]// type level 2 end
                },// 任选五
                {
                    key:"renXuanLiu",
                    name:"任选六",
                    typeLevel2:[
                        {
                            key:"601",
                            name:"任选六单式",
                            desc:"至少选择6个号码投注，选号任意5位与开奖号码一致即中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "group",name: "选择号码",balls:balls1_11}
                            ],
                            //计算符号
                            fuhao:"==",
                            //球数
                            ballNums:6,
                            //添加到缓存检查--组选或任选
                            checkBeforeAddToCache: groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: zuhePopulateNums
                        },
                        {
                            key:"602",
                            name:"任选六复式",
                            desc:"至少选择6个号码投注，选号任意5位与开奖号码一致即中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "group",name: "选择号码",balls:balls1_11}
                            ],
                            //计算符号
                            fuhao:">=",
                            //球数
                            ballNums:7,
                            //添加到缓存检查--组选或任选
                            checkBeforeAddToCache: groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: zuhePopulateNums
                        }
                    ]// type level 2 end
                },// 任选六
                {
                    key:"renXuanQi",
                    name:"任选七",
                    typeLevel2:[
                        {
                            key:"701",
                            name:"任选七单式",
                            desc:"至少选择7个号码投注，选号任意5位与开奖号码一致即中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "group",name: "选择号码",balls:balls1_11}
                            ],
                            //计算符号
                            fuhao:"==",
                            //球数
                            ballNums:7,
                            //添加到缓存检查--组选或任选
                            checkBeforeAddToCache: groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: zuhePopulateNums
                        },
                        {
                            key:"702",
                            name:"任选七复式",
                            desc:"至少选择7个号码投注，选号任意5位与开奖号码一致即中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "group",name: "选择号码",balls:balls1_11}
                            ],
                            //计算符号
                            fuhao:">=",
                            //球数
                            ballNums:8,
                            //添加到缓存检查--组选或任选
                            checkBeforeAddToCache: groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: zuhePopulateNums
                        }
                    ]// type level 2 end
                },// 任选七
                {
                    key:"renXuanBa",
                    name:"任选八",
                    typeLevel2:[
                        {
                            key:"801",
                            name:"任选八单式",
                            desc:"选择8个号码投注，选号任意5位与开奖号码一致即中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "group",name: "选择号码",balls:balls1_11}
                            ],
                            //计算符号
                            fuhao:"==",
                            //球数
                            ballNums:8,
                            //添加到缓存检查--组选或任选
                            checkBeforeAddToCache: groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: zuhePopulateNums
                        },
                        {
                            key:"802",
                            name:"任选八复式",
                            desc:"选择8个号码投注，选号任意5位与开奖号码一致即中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "group",name: "选择号码",balls:balls1_11}
                            ],
                            //计算符号
                            fuhao:">=",
                            //球数
                            ballNums:9,
                            //添加到缓存检查--组选或任选
                            checkBeforeAddToCache: groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: zuhePopulateNums
                        }
                    ]// type level 2 end
                },// 任选八
                {
                    key:"qianErZuXuan",
                    name:"前二组选",
                    typeLevel2:[
                        {
                            key:"901",
                            name:"前二组选单式",
                            desc:"至少选择2个号码投注，选号与开奖号码的前2位一致（顺序不限）即中奖。",
                            ballSperator:"|", //球之间划分线
                            rowSperator:"", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "group",name: "选择号码",balls:balls1_11}
                            ],
                            //计算符号
                            fuhao:"==",
                            //球数
                            ballNums:2,
                            //添加到缓存检查--组选或任选
                            checkBeforeAddToCache: groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: zuhePopulateNums
                        },
                        {
                            key:"902",
                            name:"前二组选复式",
                            desc:"至少选择2个号码投注，选号与开奖号码的前2位一致（顺序不限）即中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"|", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "group",name: "选择号码",balls:balls1_11}
                            ],
                            //计算符号
                            fuhao:">=",
                            //球数
                            ballNums:2,
                            //添加到缓存检查--组选或任选
                            checkBeforeAddToCache: groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: zuhePopulateNums
                        }
                    ]// type level 2 end
                },// 前二组选
                {
                    key:"qianErZhiXuan",
                    name:"前二直选",
                    typeLevel2:[
                        {
                            key:"1001",
                            name:"前二直选单式",
                            desc:"每位各选1个或多个号码投注，选号与开奖的前2位号码相同并且顺序一致即中奖。",
                            ballSperator:"|", //球之间划分线
                            rowSperator:"", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "tenthousand",name: "万",balls:balls1_11},
                            ],
                            //计算符号
                            fuhao:"==",
                            //球数
                            ballNums:2,
                            //添加到缓存检查--单式
                            checkBeforeAddToCache:groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: zuhePopulateNums
                        },
                        {
                            key:"1002",
                            name:"前二直选复式",
                            desc:"每位各选1个或多个号码投注，选号与开奖的前2位号码相同并且顺序一致即中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"|", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "tenthousand",name: "万",balls:balls1_11},
                                {key: "thousand",   name: "千",balls:balls1_11},
                            ],
                            //添加到缓存检查--复式
                            checkBeforeAddToCache: xingFuShiCheckBeforeAddToCache,
                            //组合球
                            populateNums: zuhePopulateNums
                        }
                    ]// type level 2 end
                },// 前二直选
                {
                    key:"qianSanZuXuan",
                    name:"前三组选",
                    typeLevel2:[
                        {
                            key:"1101",
                            name:"前三组选单式",
                            desc:"至少选择3个号码投注（单式只能选3个号码），选号与开奖号码的前3位一致（顺序不限）即中奖。",
                            ballSperator:"|", //球之间划分线
                            rowSperator:"", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "group",name: "选择号码",balls:balls1_11}
                            ],
                            //计算符号
                            fuhao:"==",
                            //球数
                            ballNums:3,
                            //添加到缓存检查--组选或任选
                            checkBeforeAddToCache: groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: zuhePopulateNums
                        },
                        {
                            key:"1102",
                            name:"前三组选复式",
                            desc:"至少选择3个号码投注（单式只能选3个号码），选号与开奖号码的前3位一致（顺序不限）即中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"|", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "group",name: "选择号码",balls:balls1_11}
                            ],
                            //计算符号
                            fuhao:">=",
                            //球数
                            ballNums:3,
                            //添加到缓存检查--组选或任选
                            checkBeforeAddToCache: groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: zuhePopulateNums
                        }
                    ]// type level 2 end
                },// 前三组选
                {
                    key:"qianSanZhiXuan",
                    name:"前三直选",
                    typeLevel2:[
                        {
                            key:"1201",
                            name:"前三直选单式",
                            desc:"每位各选1个或多个号码投注（单式只能每位选1个号码），选号与开奖的前3位号码并且顺序一致即中奖。",
                            ballSperator:"|", //球之间划分线
                            rowSperator:"", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "tenthousand",name: "万",balls:balls1_11},
                            ],
                            //计算符号
                            fuhao:"==",
                            //球数
                            ballNums:3,
                            //添加到缓存检查--单式
                            checkBeforeAddToCache:groupGd11x5CheckBeforeAddToCache,
                            //组合球
                            populateNums: xingPopulateNums
                        },
                        {
                            key:"1202",
                            name:"前三直选复式",
                            desc:"每位各选1个或多个号码投注（单式只能每位选1个号码），选号与开奖的前3位号码并且顺序一致即中奖。",
                            ballSperator:",", //球之间划分线
                            rowSperator:"|", //一组球之间的划分线
                            showShortcutKey:false,//显示全大小奇偶清
                            showFull:false,
                            showBig:false,
                            showSmall:false,
                            showOdd:false,
                            showEven:false,
                            showClean:false,
                            ballsTypeList: [
                                {key: "tenthousand",name: "万",balls:balls1_11},
                                {key: "thousand",   name: "千",balls:balls1_11},
                                {key: "hundred",    name: "百",balls:balls1_11},
                            ],
                            //添加到缓存检查--复式
                            checkBeforeAddToCache: xingFuShiCheckBeforeAddToCache,
                            //组合球
                            populateNums: xingPopulateNums
                        }
                    ]// type level 2 end
                },// 前三直选
            ]
        },//gd11x5 end
    ]
}
export default Constant;